import Vue from 'vue'

let global = {
  $bus: new Vue()
}
let Bus = function () { };
Bus.install = function (Vue) {
  Object.assign(window, global)
  Object.assign(Vue.prototype, global)
};
export default Bus;